package com.yiwyn.domain;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Document(indexName = "book_info")
@Data
public class BookSearchDTO {

    @Id
    private String id;
    private String bookName;
    private String author;
}
